package com.example.pattern.observer;

/**
 * 具体观察者
 *
 * @author FM_南风
 * @date 2024/7/6
 */
public class ConcreteObserver implements Observer {
	private int observerState;

	@Override
	public void update(int state) {
		observerState = state;
		System.out.println("Observer State updated to: " + observerState);
	}
}
